# 只读取偶数行的内容
file = open(r"e:\file1.txt", "r")
count = 1
while True:
    txt = file.readline()
    if txt == "":
        break
    if count % 2 == 0:
        print(txt, end = "")
    count += 1
file.close()